package com.ds.infrastructure.hyperspace.console.config.sso;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "sso", ignoreUnknownFields = true)
public class SSOConfig {
    private boolean enable;
    private String service;
    private String ssoUrl;
    private SSOPath ssoPath;

    @Data
    public static class SSOPath {
        private String loginPath;
        private String validatePath;
        private String userInfoPath;
    }
}
